﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Model;
using Controller;

namespace Facade
{
    public class KPIMethodFacade
    {
        public bool Save(List<KPIMethod> list, int KpiId)
        {
            KPIMethodController fc = new KPIMethodController();
            return fc.Save(list, KpiId);
        }

        public KPIMethod GetByKpiId(int KpiId)
        {
            KPIMethodController fc = new KPIMethodController();
            return fc.GetByKpiId(KpiId);
        }

        public List<KPIMethod> GetListByKpiId(int KpiId)
        {
            KPIMethodController fc = new KPIMethodController();
            return fc.GetListByKpiId(KpiId);
        }
    }
}